LOOP ANIMATION

This command plays the specified animation on the screen or to the current Bitmap, and repeats the animation continuously.

  Syntax
LOOP ANIMATION Animation Number
LOOP ANIMATION Animation Number,Bitmap Number,X,Y,X,Y
  Parameters
Animation Number
Integer
This value specifies the animation number, between 1 and 32
Bitmap Number
Integer
This value specifies the bitmap to draw to
X
Integer
This value represents the X coordinate of the top left corner of the area to be drawn
Y
Integer
This value represents the Y coordinate of the top left corner of the area to be drawn
X
Integer
This value represents the X coordinate of the bottom right corner of the area to be drawn
Y
Integer
This value represents the Y coordinate of the bottom right corner of the area to be drawn

  Returns

This command does not return a value.

  Description

You must provide an Animation Number of a previously loaded animation file.

  Example Code
LOAD ANIMATION "video.avi",1
LOOP ANIMATION 1
WAIT KEY
  See also

ANIMATION Commands Menu
Index